golang.org/x/net/http2.serverConn.countError (method)
31 uses
golang.org/x/net/http2 (current package)
server.go#L1506: return sc.countError("first_settings", ConnectionError(ErrCodeProtocol))
server.go#L1519: return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
server.go#L1546: return sc.countError("push_promise", ConnectionError(ErrCodeProtocol))
server.go#L1566: return sc.countError("ping_on_stream", ConnectionError(ErrCodeProtocol))
server.go#L1582: return sc.countError("stream_idle", ConnectionError(ErrCodeProtocol))
server.go#L1593: return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
server.go#L1614: return sc.countError("reset_idle_stream", ConnectionError(ErrCodeProtocol))
server.go#L1677: return sc.countError("ack_mystery", ConnectionError(ErrCodeProtocol))
server.go#L1685: return sc.countError("settings_big_or_dups", ConnectionError(ErrCodeProtocol))
server.go#L1751: return sc.countError("setting_win_size", ConnectionError(ErrCodeFlowControl))
server.go#L1774: return sc.countError("data_on_idle", ConnectionError(ErrCodeProtocol))
server.go#L1791: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1799: return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
server.go#L1808: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1816: return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
server.go#L1821: return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
server.go#L1828: return sc.countError("body_write_err", streamError(id, ErrCodeStreamClosed))
server.go#L1924: return sc.countError("headers_even", ConnectionError(ErrCodeProtocol))
server.go#L1941: return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
server.go#L1952: return sc.countError("stream_went_down", ConnectionError(ErrCodeProtocol))
server.go#L1969: return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
server.go#L1976: return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
server.go#L2053: return sc.countError("dup_trailers", ConnectionError(ErrCodeProtocol))
server.go#L2057: return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
server.go#L2061: return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
server.go#L2070: return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
server.go#L2085: return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
server.go#L2147: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2160: return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2244: return nil, nil, sc.countError("bad_path", streamError(st.id, ErrCodeProtocol))
server.go#L3212: func (sc *serverConn) countError(name string, err error) error {